package com.x;

import com.x.controller.StudentController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * ClassName: App
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.09.02 22:33
 */
public class App {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("Spring_MVC_ioc_di_training.xml");
        StudentController controller = applicationContext.getBean(StudentController.class);

        controller.findAll();
    }
}
